#include "ParticleEmitter.h"


ID3D10EffectShaderResourceVariable* e3d::ParticleEmitter::s_textureHandle = NULL;

e3d::ParticleEmitter::ParticleEmitter( ID3D10Device* device, ID3D10EffectTechnique* tech ) 
:	m_device ( device ),
	m_tech ( tech ),
	m_firstFrame( true ),
	m_textureView( NULL )
{}

void e3d::ParticleEmitter::getHandles( ID3D10Effect* effect )
{
	s_textureHandle = effect->GetVariableByName("cubeEmitterTexture")->AsShaderResource();
}